package adventure.commands.skills;

import adventure.Adventure;
import colour.Colour;
import colour.ColourUtil;
import player.Player;

/**
 *
 * @author Michael Hanns
 *
 */
public class GenericSkill extends AbstractSkill {

    public final static String type = "GENERIC";
    public final static Colour typeColour = ColourUtil.defaultColour;

    public GenericSkill(Adventure adv) {
        super(adv, new String[]{"GENERIC"}, 0);
        usage = "";
    }

    @Override
    public void setSynonyms(String[] syns) {
        this.synonyms = syns;

        usage = synonyms[0];
        for (int x = 1; x < synonyms.length; x++) {
            usage += ", " + synonyms[x];
        }
    }

    @Override
    public String getType() {
        return type;
    }
    
    

    @Override
    public Colour getTypeColour() {
        return typeColour;
    }

    @Override
    protected String performSkill(Player player, String[] args) {
            return "Generic skill. You shouldn't be seeing this.";
    }


    @Override
    public String getSkillHelp() {
        return synonyms[0] + "\n---\n"
                + "Learned at level " + levelLearned
                + "\nUsage(s): " + usage
                + "\nDoes: Nothing"
                + "\n" + description;
    }
}
